sum1 = 0
for each in range(1,100,1):             # range(起始值，最终值，步进值)
    sum1 += each
print(sum1)
    
sum2 = 0
i = 1
while i < 100:
    sum2 += i
    i += 1
print(sum2)
